<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Sample title</title>
    <meta name="layout" content="main" />
  </head>
  <body>
      <div id="pageBody">
          <h1>Update Wine Type</h1>
          
          <br/>${flash.message}<br/>

          <g:form name="updateWineTypeForm" controller="catalogueManagement" action="updateWineType">

            <input type="hidden" name="id" value="${wineTypeId}"/>
            Wine Type Name: <input type="text" name="wineTypeName" value="${wineTypeName}"/><br/>
            Description: <input type="text" name="description" value="${wineTypeDescription}"/><br/>

            <input type="submit" value="Update"/>

          </g:form>
      </div>
  </body>
</html>